<?php

class Application_Form_modifieractivite extends Zend_Form
{

    public function init()
    {
        /* Form Elements & Other Definitions Here ... */
 
    	
    	$this->setName("Formulairemodifieractivite");
    	 
    	 
    	$identificateur = new Zend_Form_Element_Text('idPILOT_MODELACTIVITE');
    	$identificateur->setLabel('Activite');
    	
    	$description = $this->CreateElement('textarea', 'DESCRIPTION');
    	$description->setAttrib('rows', '7');
    	$description->setAttrib('cols', '35');
    	$description->setLabel('Description');
    	 
    	$valider = new Zend_Form_Element_Submit("submit");
    	$valider->setLabel("Modifier");
    	 
    	 
    	$this->addElements(array($identificateur,$description,$valider));
    	$this->setDecorators( array( array('ViewScript', array('viewScript' => 'protypeform.phtml'))));
    }
}	